import PikaStdLib
import pikabot
import motor
import time

mem = PikaStdLib.MemChecker()

m = motor.Motor()
bot = pikabot.Bot()

bot.send(bot.pack(1, 500, 500))
time.sleep(0.5)
bot.send(bot.pack(1, 400, 500))
time.sleep(0.5)
bot.send(bot.pack(1, 500, 500))
time.sleep(0.5)


def once(t1, t2):
    m.move(0)
    time.sleep(t1)
    m.move(80)
    time.sleep(t2)
    m.move(0)

mem.now()
